package com.ashley.day_10;

/**
 * @Author ashley
 * @Date 2019/8/5 12:12
 */
public class TriAngleTest {
    public static void main(String[] args) {
        TriAngle t1 = new TriAngle();
        t1.setBase(2.3);
        t1.setHeight(3.6);
        System.out.println("base:" + t1.getBase() + ",height:" + t1.getHeight());

        TriAngle t2 = new TriAngle(5.1, 2.4);
        System.out.println("base:" + t2.getBase() + ",height:" + t2.getHeight());


    }
}
